package com.hexinfo.dmpro.sparing.service;

import cn.hutool.core.io.file.FileAppender;
import com.hexinfo.dmpro.sparing.dto.TableDistCPDTO;
import com.hexinfo.dmpro.sparing.dto.WhereScriptDTO;

import java.util.List;

public interface LsFilterService {

    void allLsFilter(List<TableDistCPDTO> tableDistCPDTOs, TableDistCPDTO tableDistCPDTO,
                     FileAppender heatlog, FileAppender tableLog, Integer tableSize);

    void dataSync(String sourceDataName, FileAppender heatlog);

    void dataContrast(String sourceDataName, FileAppender heatlog, List<WhereScriptDTO> whereScriptDTOS);

    void dataRefresh(String sourceDataName, String backupSort, FileAppender heatlog);

    void updateLsStatusMap(String souName,String status);

    String getLsStatus(String souName);

    void delLsStatus(String souName);
}
